import request from "@/utils/request";
const project = "/project";

// 查询项目类别
export function queryProjectCategory(data) {
  return request({
    url: `${project}/queryProjectCategory`,
    method: "post",
    data: data,
  });
}
// 新增-修改类别
export function addCategory(data) {
  return request({
    url: `${project}/addCategory`,
    method: "post",
    data: data,
  });
}
// 删除类别
export function delCategory(data) {
  return request({
    url: `${project}/delCategory`,
    method: "post",
    data: data,
  });
}
